/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.controller.website_management;

import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.RestController;
import top.continew.admin.card.model.query.BusinessCardVisitorRecordQuery;
import top.continew.admin.card.model.req.BusinessCardVisitorRecordReq;
import top.continew.admin.card.model.resp.BusinessCardVisitorRecordDetailResp;
import top.continew.admin.card.model.resp.BusinessCardVisitorRecordResp;
import top.continew.admin.card.service.BusinessCardVisitorRecordService;
import top.continew.starter.extension.crud.annotation.CrudRequestMapping;
import top.continew.starter.extension.crud.controller.BaseController;
import top.continew.starter.extension.crud.enums.Api;

/**
 * 微信名片访问记录管理 API
 *
 * @author floyd
 * @since 2024/11/28 16:32
 */
@Tag(name = "微信名片访问记录管理 API")
@RestController
@CrudRequestMapping(value = "/card/businessCardVisitorRecord", api = {Api.PAGE, Api.GET, Api.ADD, Api.UPDATE,
    Api.DELETE, Api.EXPORT})
public class BusinessCardVisitorRecordController extends BaseController<BusinessCardVisitorRecordService, BusinessCardVisitorRecordResp, BusinessCardVisitorRecordDetailResp, BusinessCardVisitorRecordQuery, BusinessCardVisitorRecordReq> {

//        @Log(ignore = true)
//        @Operation(summary = "获取名片访客信息", description = "获取名片访客信息")
//        @PostMapping("/getVisitorPraise")
//        public VisitorStatisticsRep getVisitorPraise(Long cardId, @RequestParam(required = false, defaultValue = "3") int number) {
//            return baseService.getVisitorPraise(cardId, number);
//        }
}